package com.example.livedatatest;



import androidx.lifecycle.LiveData;

import retrofit2.Call;
import retrofit2.http.GET;

public interface SplashService {

    @GET("HPImageArchive.aspx?format=js&idx=0&n=1")
    Call<BingImg> getBingImg();

    @GET("HPImageArchive.aspx?format=js&idx=0&n=1")
    LiveData<BingImg> getBingImgLiveData();
    @GET("book/t")
    Call<User> getUser();

    @GET("book/t")
    LiveData<User> getUserLiveData();

}